# -*-coding:utf-8 -*-
from core.api.views import *
from rest_framework.urlpatterns import format_suffix_patterns
from django.urls import include, path
from rest_framework.routers import DefaultRouter
from rest_framework.authtoken import views

router = DefaultRouter()



urls = [
    path(r'tokenauth/', ObtainAuthTokenView.as_view()),
    path(r'cookies/', cookies),
    path(r'password/change/', PasswordChangeView.as_view(), name='password_change'),
]

urlpatterns = (
    path('core/', include(format_suffix_patterns(urls))),
    path('core/', include(router.urls))
)
